package com.siyuanren.gcocp.mapper.base;

import com.siyuanren.gcocp.entity.Part;
import com.siyuanren.gcocp.entity.PartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PartMapper {
    long countByExample(PartExample example);

    int deleteByExample(PartExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Part record);

    int insertSelective(Part record);

    List<Part> selectByExample(PartExample example);

    Part selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Part record, @Param("example") PartExample example);

    int updateByExample(@Param("record") Part record, @Param("example") PartExample example);

    int updateByPrimaryKeySelective(Part record);

    int updateByPrimaryKey(Part record);
}